Skip to content

Performance improvements - #54

Merged
PaulKlint merged 23 commits into
mainfrom
performance-improvements-main
Aug 14, 2026
Merged

Performance improvements#54
PaulKlint merged 23 commits into
mainfrom
performance-improvements-main

Conversation

@sungshik

@sungshik sungshik commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR introduces various performance improvements. Each improvement is contributed in a separate sub-PR.

Sub-PRs:

Integration test succeeds:

TODO:

sungshik and others added 17 commits July 29, 2026 10:27
…athsByPathRole`, and by making the initialization part faster
…cope graph lookups for unused definitions with a unique identifier
… (using an auxiliary map of "prototypes")
…ter-lookuppathswide

Faster `lookupPathsWide`
sungshik and others added 6 commits August 14, 2026 15:35
…ter-checkillegaloverloading

Faster check for illegal overloading of unused definitions
…ter-reportunused

Faster reporting of unused definitions
…fig-sorted-messages

Configure if messages in `TModel`s should be sorted
@sungshik
sungshik marked this pull request as ready for review August 14, 2026 17:17
@PaulKlint
PaulKlint merged commit e8f43b2 into main Aug 14, 2026
1 check passed
@PaulKlint
PaulKlint deleted the performance-improvements-main branch August 14, 2026 20:58
DavyLandman added a commit to usethesource/rascal that referenced this pull request Aug 21, 2026
This PR introduces various performance improvements to the typechecker.
Each improvement is contributed in a separate sub-PR. This PR is a
companion of usethesource/typepal#54.

Sub-PRs:

  - Improvements to typechecker:
      - #2833
      - #2850
      - #2853
  - Improvements to interpreter:
      - #2858

Integration test
[succeeds](https://github.com/usethesource/rascal-core-big-tests/actions/runs/32296970919).
Anecdotally:
  - Roughly 1.7x faster than Rascal `v0.42.2` with Typepal `v0.16.6`
- Roughly 1.4x faster than Rascal `main` (805dc0d) with Typepal
`v0.17.0` (which has the performance improvements of
usethesource/typepal#54 relative to `v0.16.6`)

TODO:
  - [x] Remove scaffolding 
  - [x] Await integration test
toinehartman pushed a commit to usethesource/rascal that referenced this pull request Aug 25, 2026
This PR introduces various performance improvements to the typechecker.
Each improvement is contributed in a separate sub-PR. This PR is a
companion of usethesource/typepal#54.

Sub-PRs:

  - Improvements to typechecker:
      - #2833
      - #2850
      - #2853
  - Improvements to interpreter:
      - #2858

Integration test
[succeeds](https://github.com/usethesource/rascal-core-big-tests/actions/runs/32296970919).
Anecdotally:
  - Roughly 1.7x faster than Rascal `v0.42.2` with Typepal `v0.16.6`
- Roughly 1.4x faster than Rascal `main` (805dc0d) with Typepal
`v0.17.0` (which has the performance improvements of
usethesource/typepal#54 relative to `v0.16.6`)

TODO:
  - [x] Remove scaffolding 
  - [x] Await integration test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants